package com.ruoyi.wb.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 协议对象 wb_agreements
 *
 * @author ruoyi
 * @date 2024-10-14
 */
@ApiModel(value = "WbAgreements", description = "协议实体")
public class WbAgreements extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 协议 ID */
    @ApiModelProperty(value = "协议 ID")
    private Long id;

    /** 协议标题 */
    @Excel(name = "协议标题")
    @ApiModelProperty(value = "协议标题")
    private String title;

    /** 协议内容 */
    @Excel(name = "协议内容")
    @ApiModelProperty(value = "协议内容")
    private String content;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle() {
        return title;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContent() {
        return content;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("title", getTitle())
                .append("content", getContent())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}